package com.ruoyan.service;

import com.ruoyan.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Package: com.ruoyan.service
 * @ClassName: UserService
 * @Author: ruoyan1998
 * @CreateTime: 2021/5/21 16:06
 * @Description:
 */
public interface UserService
{
    User queryUserByNameAndPassword(String name, String password);

    User queryUserByName(@Param("name") String name);
}
